<?php

?>

<!-- INICIA ROTATE -->
<script src="http://www.candres.com/include/rot/event.js" type="text/javascript"></script>
<script src="http://www.candres.com/include/rot/rotator.js" type="text/javascript"></script>
<script type="text/javascript">
function initRotator() {
    // pass name of variable containing rotator properties
    dw_Rotator.setup(rotator1);
}
dw_Event.add( window, 'load', initRotator);
</script>
<!-- END ROTATE -->

<img id="r1" src="<?php echo 'css/'.$_SESSION['css']; ?>/images/7.jpg" alt="" />
<script type="text/javascript">
    var rotator1 = {
        path: '<?php echo 'css/'.$_SESSION['css']; ?>/images/',  // path to your images
        id:   'r1',   // id assigned in image tag
        bTrans: true, // transition filter for IE Win
        images: ["8.jpg","7.jpg"]
    }
</script>